//package com.tsk.example.config.datasource;
//
//import com.baomidou.mybatisplus.annotation.DbType;
//import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
//import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
//import org.mybatis.spring.annotation.MapperScan;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * @author: 黄嘉振
// * @create: 2023/2/6 10:02
// * @description:
// **/
//@Configuration
//@MapperScan("com.hjz.tsk.base.mapper")
//public class MybatisPlusConfig {
//
////    @Bean
////    public PaginationInnerInterceptor paginationInnerInterceptor() {
////        PaginationInnerInterceptor interceptor = new PaginationInnerInterceptor(DbType.MYSQL);
////        return interceptor;
////    }
//
//    @Bean
//    public MybatisPlusInterceptor mybatisPlusInterceptor() {
//        MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
//        interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL));
//        return interceptor;
//    }
//}
